<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
        <title></title>
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="bootflat/js/jquery-1.10.1.min.js"></script>
        <link rel="stylesheet" href="bootflat/css/site.min.css">
        <link rel="stylesheet" href="css/UI.css">
        <script type="text/javascript" src="bootflat/js/site.min.js"></script>
        <script type="text/javascript" src="js/MoviesProcess.js"></script>
    </head>
    <body style="background-color:#f1f2f6;">
        <h2 class="example-title" style="text-align: center;">Movies List Management</h2>
        <br>
<!--        <div class="row">
            <div class="col-md-1"></div>
            <div class="col-md-10" style="background-color: #5D9CEC;"></div>
        </div>-->
        <br>
        <div class="row">
            <div class="col-md-1" >
                
            </div>
            <div class="col-md-4">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <h3 class="panel-title">Fill movies</h3>
                    </div>
                    <div class="panel-body">
                        <div class="h6">Name </div><input type="text" class="form-control" placeholder="Enter movie name" >
                        <div class="h6">Description </div><textarea class="form-control" rows="3" placeholder="Enter movies description"></textarea>
                        <div class="h6">Type </div>
                        <div class="btn-group">
                            <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" id="type">Type.. <span class="caret"></span></button>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Adventure</a></li>
                                <li><a href="#">Sci-fi</a></li>
                                <li><a href="#">Comedy</a></li>
                                <li><a href="#">Indy</a></li>
                                <li><a href="#">Terror</a></li>
                                <li><a href="#">Drama</a></li>
                                <li><a href="#">Horror</a></li>
                            </ul>
                        </div>
                        <div class="h6">Year </div>
                        <div class="btn-group">
                            <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" id="year">Year.. <span class="caret"></span></button>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="#">2014</a></li>
                                <li><a href="#">2013</a></li>
                                <li><a href="#">2012</a></li>
                                <li><a href="#">2011</a></li>
                                <li><a href="#">2010</a></li>
                                <li><a href="#">2009</a></li>
                                <li><a href="#">2008</a></li>
                                <li><a href="#">2007</a></li>
                            </ul>
                        </div>
                        <div class ="row"></div>
                        <h3 class="text-center tooltip-demo">
                            <button type="button" class="btn btn-primary" style="width: 30%" id="btnRecord" data-toggle="tooltip" data-placement="right" title="Add your movie to table and save to database!">Record</button>
                        </h3>
                    </div>
                </div>
            </div>
            <div class ="col-md-6">
                <div class ="panel panel-primary">
                    <div class="panel-heading">Movies list</div>
                        <div class="panel-body" id="tb">
                            <table class="table" id="table1">
                                <tr>
                                    <th>No.</th>
                                    <th>Name</th>
                                    <th>Type</th>
                                    <th>Year</th>
                                </tr>
                            </table>
                            <div class="text-center tooltip-demo">
                                <button type="button" class="btn btn-primary" style="width: 20%" id="btnLoad" data-toggle="tooltip" data-placement="right" title="Load your movies list from database :))">Load</button>
                            </div>
                        </div>
                </div>
            </div>
            <div class ="col-md-1"></div>
        </div>
    </body>
</html>
